﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Estore.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<Estore.ViewModels.ProductModel>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div id="content_right">
                <div class="sidebar_menu" >
                    <div class="sidebar_name"><p class="Menu_para">Máy tính mới</p></div>
                    <% foreach (var product in Model)
                       { %>
                    <div class="new_Product" align="center">
                        <div class="product_img_content">
                            <a href="../Detail/Index?id=<%=product.Product_id%>"><img src="../../Content/image/<%= product.Image %>" width="150px" height="150px" /></a>
                        </div>
                        <div class="product_info_content">
                            <div class="product_name"><a href="../Detail/Index?id=<%=product.Product_id%>"><%= product.Product_name %></a></div>
                            <br />
                            <div class="product_price"><%= product.price %>$</div>
                        </div>
                    </div>

                    <% } %>
                
                </div>
                <div style="font-size:20px; color:Blue !important;">
                 <a href="../Account/Register">Register</a>
                </div>
                </div>
   
</asp:Content>
